package com.wangcanxuan.www.entity.dto;

/**
 * 结果常量
 *
 * @author HHLJ
 * @date 2022/03/26
 */
public enum ResultConstants {
    /**
     * 成功请求的代码
     */
    SUCCESS_REQUEST_CODE(200),
    /**
     * 拒绝请求的代码
     */
    REJECT_REQUEST_CODE (403);

    private final int code;


    ResultConstants(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
